package com.ruoyi.client.service.impl;

import com.ruoyi.client.mapper.CategoryMapper;
import com.ruoyi.client.pojo.vo.CategoryVo;
import com.ruoyi.client.service.CategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("ClientCategoryServiceImpl")
public class CategoryServiceImpl implements CategoryService {

    @Resource(name = "ClientCategoryMapper")
    private CategoryMapper categoryMapper;

    /**
     * 查询列表（全部)
     */
    @Override
    public List<CategoryVo> selectVoList() {
        return categoryMapper.selectVoList();
    }
}